package com.smedi.ismedi.dangeroussourcemanage.core.domain.service;

import com.smedi.ismedi.dangeroussourcemanage.core.domain.aggregatemodel.DangerousSourceManage;

import java.util.List;

/**
 * 业务服务接口
 *
 * @author xienannan
 * @date 2021/08/23
 */
public interface DangerousSourceManageDomainService {
    /**
     * 危险源基本表的插入接口
     *
     * @param dangerousSourceManage 危险源基础业务类
     * @return DangerousSourceManageBasic
     */
    DangerousSourceManage doInsert(DangerousSourceManage dangerousSourceManage);

    /**
     * 危险源基本表的更新接口
     *
     * @param dangerousSourceManage 危险源基础业务类
     * @return DangerousSourceManageBasic
     */
    DangerousSourceManage doUpdate(DangerousSourceManage dangerousSourceManage);

    /**
     * 根据id删除危险源
     *
     * @param dangerousSourceIds 危险源id集合
     * @return Long
     */
    Long doDeleteById(List<Long> dangerousSourceIds);
}